$(function() {
	zTreeObj = $.fn.zTree.init($("#treeView"), setting, treeNodes);
	zTreeObj.expandAll(true);
});

var setting = {
	view : {
		expandSpeed : "fast" // 节点展开效果
	}
};

var treeNodes = {
	"name" : "后台管理",
	"children" : [
			{
				"name" : "业务引导管理",
				children : [
						{
							name : "业务管理",
							children : [ {
								"name" : "中心业务",
								"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
								"icon" : context
										+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
								"url" : context
										+ "/management/matter/list-0-10",
								"target" : "right"
							}, {
								"name" : "非中心业务",
								"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
								"icon" : context
										+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
								"url" : context
										+ "/management/matter/isnotcenter/list-0-10",
								"target" : "right"
							} ]
						},
						{
							name : "引导信息管理",
							"url" : context
									+ "/management/guide/view/{00000000-0000-0000-0000-000000000000}",
							"target" : "right",
							children : [
									{
										"name" : "个人业务",
										"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
										"icon" : context
												+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
										"url" : context
												+ "/management/guide/view/{00000000-0000-0000-0000-000000000002}",
										"target" : "right"
									},
									{
										"name" : "企业业务",
										"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
										"icon" : context
												+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
										"url" : context
												+ "/management/guide/view/{00000000-0000-0000-0000-000000000001}",
										"target" : "right"
									},
									{
										"name" : "绿色通道",
										"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
										"icon" : context
												+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
										"url" : context
												+ "/management/guide/view/{00000000-0000-0000-0000-000000000003}",
										"target" : "right"
									},
									{
										"name" : "热点事项",
										"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
										"icon" : context
												+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
										"url" : context
												+ "/management/guide/view/{00000000-0000-0000-0000-000000000004}",
										"target" : "right"
									},
									{
										"name" : "局委",
										"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
										"icon" : context
												+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
										"url" : context
												+ "/management/guide/view/{00000000-0000-0000-0000-000000000005}",
										"target" : "right"
									} ]
						},
						{
							name : "办理单位管理",
							id : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							icon : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							url : context
									+ "/management/matter/handleunit/list-0-10",
							target : "right"
						} ]
			},
			{
				"name" : "综合检索管理",
				children : [
						{
							"name" : "热门标签管理",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context + "/oa/messageResult.jsp",
							"target" : "right"
						},
						{
							"name" : "搜索统计",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context + "/oa/messageResult.jsp",
							"target" : "right"
						},
						{
							"name" : "停用词管理",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context + "/management/search/stopword/list-0-10",
							"target" : "right"
						} ]
			},
			{
				"name" : "流程引导管理",
				children : [
						{
							"name" : "流程列表",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context + "/management/flow/list-0-10",
							"target" : "right"
						},
						{
							"name" : "节点类型列表",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context
									+ "/management/flow/nodetype/list-0-10",
							"target" : "right"
						},
						{
							"name" : "节点列表",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context + "/management/flow/node/list-0-10",
							"target" : "right"
						},
						{
							"name" : "问题列表",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context
									+ "/management/flow/question/list-0-10",
							"target" : "right"
						},
						{
							"name" : "连接线列表",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context + "/management/flow/line/list-0-10",
							"target" : "right"
						} ]
			},
			{
				"name" : "问题咨询管理",
				children : [
						{
							"name" : "自主学习管理",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context + "/oa/messageResult.jsp",
							"target" : "right"
						},
						{
							"name" : "常见问题库管理",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context + "/oa/messageResult.jsp",
							"target" : "right"
						},
						{
							"name" : "人工解答管理",
							"id" : "{AC1D3316-FFFF-FFFF-9685-983300000072}",
							"icon" : context
									+ "/common/javascript/plugins/zTree/zTreeStyle/img/diy/9.png",
							"url" : context + "/oa/messageResult.jsp",
							"target" : "right"
						} ]
			} ]
};
